//app.js
App({

  onLaunch: function (options) {
    console.info("onLaunch " + JSON.stringify(options));
  },

  onShow: function (options) {
    console.info("onShow" + JSON.stringify(options));
  },

  onHide: function () {
    console.info("onHide" + JSON.stringify(options));
  },

  onError: function (msg) {
    console.info("onError" + JSON.stringify(msg));
  }
  
})

